{"ast":null,"code":"export function isInViewPort(element) {\n  var viewWidth = window.innerWidth || document.documentElement.clientWidth;\n  var viewHeight = window.innerHeight || document.documentElement.clientHeight;\n  var _element$getBoundingC = element.getBoundingClientRect(),\n    top = _element$getBoundingC.top,\n    right = _element$getBoundingC.right,\n    bottom = _element$getBoundingC.bottom,\n    left = _element$getBoundingC.left;\n  return top >= 0 && left >= 0 && right <= viewWidth && bottom <= viewHeight;\n}","map":{"version":3,"names":["isInViewPort","element","viewWidth","window","innerWidth","document","documentElement","clientWidth","viewHeight","innerHeight","clientHeight","_element$getBoundingC","getBoundingClientRect","top","right","bottom","left"],"sources":["/data/messenger.client/node_modules/@rc-component/tour/es/util.js"],"sourcesContent":["export function isInViewPort(element) {\n  var viewWidth = window.innerWidth || document.documentElement.clientWidth;\n  var viewHeight = window.innerHeight || document.documentElement.clientHeight;\n\n  var _element$getBoundingC = element.getBoundingClientRect(),\n      top = _element$getBoundingC.top,\n      right = _element$getBoundingC.right,\n      bottom = _element$getBoundingC.bottom,\n      left = _element$getBoundingC.left;\n\n  return top >= 0 && left >= 0 && right <= viewWidth && bottom <= viewHeight;\n}"],"mappings":"AAAA,OAAO,SAASA,YAAY,CAACC,OAAO,EAAE;EACpC,IAAIC,SAAS,GAAGC,MAAM,CAACC,UAAU,IAAIC,QAAQ,CAACC,eAAe,CAACC,WAAW;EACzE,IAAIC,UAAU,GAAGL,MAAM,CAACM,WAAW,IAAIJ,QAAQ,CAACC,eAAe,CAACI,YAAY;EAE5E,IAAIC,qBAAqB,GAAGV,OAAO,CAACW,qBAAqB,EAAE;IACvDC,GAAG,GAAGF,qBAAqB,CAACE,GAAG;IAC/BC,KAAK,GAAGH,qBAAqB,CAACG,KAAK;IACnCC,MAAM,GAAGJ,qBAAqB,CAACI,MAAM;IACrCC,IAAI,GAAGL,qBAAqB,CAACK,IAAI;EAErC,OAAOH,GAAG,IAAI,CAAC,IAAIG,IAAI,IAAI,CAAC,IAAIF,KAAK,IAAIZ,SAAS,IAAIa,MAAM,IAAIP,UAAU;AAC5E"},"metadata":{},"sourceType":"module"}